const  fs = require('fs')

module.exports = (err)=>{
    
    let log = fs.readFileSync('./jilu/julucw.log','utf-8')

    log = log.replace(/ok$/,err)
    fs.writeFileSync('./jilu/julucw.log',log)
}